<!--
 * @description: 
 * @Author: lhr
 * @Date: 2020-12-04 17:02:55
 * @LastEditors: lhr
 * @LastEditTime: 2020-12-04 17:10:19
-->
<template>
  <input
    type="checkbox"
    :checked="checked"
    @change="$emit('change', $event.target.checked)"
  />
</template>
<script>
export default {
  props: ["checked"],
  model: {
    prop: "checked",
    event: "change",
  },
};
</script>
